import request from '@/utils/request'

// 查询万寿宫-福卡列表
export function listFk(query) {
  return request({
    url: '/wsg/fk/list',
    method: 'get',
    params: query
  })
}

// 查询万寿宫-福卡详细
export function getFk(id) {
  return request({
    url: '/wsg/fk/' + id,
    method: 'get'
  })
}

// 新增万寿宫-福卡
export function addFk(data) {
  return request({
    url: '/wsg/fk',
    method: 'post',
    data: data
  })
}

// 修改万寿宫-福卡
export function updateFk(data) {
  return request({
    url: '/wsg/fk',
    method: 'put',
    data: data
  })
}

// 删除万寿宫-福卡
export function delFk(id) {
  return request({
    url: '/wsg/fk/' + id,
    method: 'delete'
  })
}

// 导出万寿宫-福卡
export function exportFk(query) {
  return request({
    url: '/wsg/fk/export',
    method: 'get',
    params: query
  })
}

//删除图片
export function delFile(query) {
  return request({
    url: '/common/delFile',
    method: 'get',
    params: query
  })
}
